package com.atguigu.springmvc.service;

import org.springframework.stereotype.Service;

import com.atguigu.springmvc.helloworld.Department;
import com.atguigu.springmvc.helloworld.Employee;

@Service
public class EmployeeServiceImpl implements EmployeeService{

	@Override
	public Employee getEmp() {
		return new Employee(20, "码云", new Department(77, "财务室"));
	}

}
